body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: whitesmoke;
    font-size: 1em;
    line-height: 1.6; 
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #26577C;
    padding: 5px 20px;
    color: white;
}

.top-bar .language-flags img {
    height: 20px;
    width: auto;
    margin: 0 8px;
}

.top-bar .language-flags {
    display: flex;
    align-items: center;
}

/* Navigation */
.navbar-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: whitesmoke;
    z-index: 1000;
    margin-bottom: -15px;
    transition: top 0.3s;
}

nav ul {
    list-style: none;
    margin: 0 100px;
    padding: 0;
    display: flex;
    flex-direction: row;
}

nav ul li {
    margin: 0 5px;
    position: relative;
}

nav ul > li > a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #26577C;
    padding: 8px 10px;
    transition: color 0.3s, transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    font-size: 0.95rem;
    transform: scale(0.95);
}

nav ul > li > a.active {
    color: #E55604;
    border-bottom: 3px solid #E55604;
}

nav ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #E55604;
    transition: width 0.3s, left 0.3s;
    z-index: 0;
}

nav ul > li > a:not(.active):hover::after {
    width: 100%;
    left: 0;
}

nav ul > li > a:not(.active):hover {
    color: #E55604;
    padding-bottom: 10px;
}

/* Dropdown Menu */
nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: rgba(249, 249, 251);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

nav ul li .dropdown-menu li {
    margin: 0;
}

nav ul li .dropdown-menu li a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #26577C;
    white-space: nowrap;
}

/* To Avoid After Animation */
nav ul li .dropdown-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: transparent;
    transition: none; 
    z-index: -1;
}

nav ul li .dropdown-menu li a:hover {
    background-color: #26577C;
    color: whitesmoke;
}

nav ul li:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Navigation */
.sticky-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    margin-top: 20px;
    margin-right: 10px;
    z-index: 1001;
    transition: transform 0.5s ease;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #26577C;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#menu-toggle {
    display: none;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

#menu-toggle:checked + .hamburger {
    transform: rotate(45deg);
}

#menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(90deg);
    top: 10px;
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-90deg);
    top: 10px;
}

/* Logo */
.logo img {
    height: 60px;
    margin-left: 40px;
    padding: 20px;
    transition: height 0.3s ease, margin-left 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

/* Logo in Sticky Navigation */
.sticky-navbar .logo img {
    height: 40px;
    margin-left: 20px;
    padding: 10px;
    transition: height 0.3s ease, margin-left 0.3s ease, padding 0.3s ease;
}

/* Hamburger Menu in Sticky Navigation */
.sticky-navbar .hamburger {
    margin-top: 0;
}

/* Main */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    overflow: hidden;
    text-align: center;
    position: relative;
}

main video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

/* Transparent Layer on Main */
main .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 87, 124, 0.7);
    z-index: 1;
}

main .content {
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    flex-direction: column; /* Stacks items vertically */
    text-align: center;
    width: 100%; /* Ensure full width of content */
}

main h1, main a {
    position: relative;
    z-index: 2;
}

/* Main H1 */
main h1 {
    font-size: 4.5em;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to top, #9BBEC8, #DDF2FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 90%;
}

/* Mid-line styling */
.mid-line {
    position: relative;
    overflow: hidden;
    font-size: 1.15em;
    font-family: "Montserrat", sans-serif;
    background-color: #9BBEC8;
    color: #26577C;
    text-align: center;
    padding: 5px;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel p {
    position: absolute;
    width: 100%;
    padding: 0 10%;
    margin: 0;
    opacity: 0;
    transform: translateX(-100%); 
    transition: opacity 0.5s, transform 1s;
    text-align: center;
}

.carousel p.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel p.exit-right {
    opacity: 0;
    transform: translateX(100%);
}

.carousel p.enter-left {
    opacity: 1;
    transform: translateX(-100%);
}

.bottom {
    margin: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
}

.boxes img {
    height: auto;
    width: 100%;
    max-width: 400px;
}

.boxes {
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
    text-align: center;
    width: 300;
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    margin: 20px; 
}

.boxes h3 {
    color: #26577C;
    font-size: 1.4em;
}

.boxes p {
    margin-bottom: 30px;
    color: #427D9D;
}

.boxes a {
    display: inline-block;
    color: whitesmoke;
    background-color: #E55604;
    font-size: 1.2em;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.boxes a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(155, 190, 200, 0.8);
    transition: left 0.3s ease;
}

.boxes a:hover::before {
    left: 100%;
}

.boxes a:hover {
    background-color: #427D9D;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Side Pages */
.side-pages {
    width: 100%;
    max-width: 100%;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Side Pages Header */
.side-pages.header {
    position: relative;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Side Pages Header H1 */
.side-pages.header h1 {
    position: absolute;
    font-family: "Montserrat", sans-serif;
    top: 65px;
    left: 97px;
    z-index: 2;
    color: whitesmoke;
    font-size: 3.2em;
}

.side-pages.header .nav-links {
    position: absolute;
    top: 165px;
    left: 100px;
    z-index: 2;
    font-family: "Montserrat", sans-serif;
    list-style: none; 
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.side-pages.header .nav-links li {
    margin-right: 5px;
}

.side-pages.header .nav-links a {
    color: whitesmoke;
    text-decoration: none;
}

.side-pages.header .nav-links a:hover {
    color: #E55604;
}

.side-pages.header .nav-links a.active {
    color: #E55604;
    text-decoration: none;
}

.side-pages.header .nav-links a.active:hover {
    color: whitesmoke;
    text-decoration: none;
}


.side-pages.header .nav-links .separator {
    color: #E55604;
}

/* Side Pages Header Overlay */
.side-pages.header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(22, 72, 99, 0.9), rgba(155, 190, 200, 0.7));
    z-index: 1;
    pointer-events: none;
}

/* Side Pages Header Image */
.side-pages.header img {
    width: 100%;
    max-width: 100%;
    height: 290px;
    display: flex;
    object-fit: cover;
}

/* Side Pages Body */
.side-pages.body {
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: whitesmoke;
}

/* Content Wrapper */
.side-pages.body .content-wrapper {
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.side-pages.body h2 {
    width: 90%;
    margin: 40px 40px 40px 40px;
    padding: 10px 10px;
    color: #26577C;
    border-bottom: 3px solid #E55604;
    font-family: "Montserrat", sans-serif;
    font-size: 2.5em;
    text-align: left;
}

.side-pages.body p {
    margin-left: 50px;
    width: 60%;
    font-family: "Montserrat", sans-serif;
    color: #427D9D;
}

.side-pages.body img {
    width: 25%;
    height: auto;
    margin-right: 7%;
    margin-bottom: 50px;
}

/* Avukatlarımız */
.side-pages.body .lawyers {
    display: flex;
    padding-left: 30px;
    flex-direction: column;
    width: 100%;
    max-width: 95%;
    box-sizing: border-box;
}

.side-pages.body .lawyers .boxes {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 50px;
}

.side-pages.body .lawyers .img-container {
    width: 25%;
    max-width: 300px;
    height: auto;
    max-height: 100%;
    background: radial-gradient(ellipse at center, rgba(155, 190, 200, 0.7), rgba(66, 125, 157, 0.9));
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.side-pages.body .lawyers .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease-in-out;
}

.side-pages.body .lawyers .img-container img:hover {
    transform: scale(1.10);
}


.side-pages.body .lawyers .bio {
    flex: 1;
    margin-left: 50px;
}

.side-pages.body .lawyers .bio h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: #26577C;
    margin: 0 0 20px 0;
    text-align: left;
}

.side-pages.body .lawyers .bio .attributes {
    font-family: 'Montserrat', sans-serif;
    color: #555;
}

.side-pages.body .lawyers .bio .attributes p {
    margin: 10px 0;
    font-size: 1.1em;
    text-align: left;
    color: #427D9D;
}

/* Çalışma Alanlarımız */
.side-pages.body .practice-areas {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 100px 20px;
    box-sizing: border-box;
    position: relative;
    flex-wrap: wrap;
}

.side-pages.body .practice-areas .boxes {
    flex: 0 1 27%;
    max-width: 27%;
    margin: -80px 40px 150px 40px;
    text-align: center;
    position: relative;
    transition: transform 0.5s ease;
}

.side-pages.body .practice-areas .boxes:hover {
    transform: translateY(-10px);
}

.side-pages.body .practice-areas .boxes:hover .attributes {
    color: #a98e63;
}

.side-pages.body .practice-areas .boxes .img-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: auto;
    border-radius: 5px;
    overflow: hidden;
}

.side-pages.body .practice-areas .boxes .img-container img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.side-pages.body .practice-areas .boxes .img-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(66, 125, 157, 0.4);
    z-index: 1;
    border-radius: 5px;
}

.side-pages.body .practice-areas .boxes h1 {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 20px 0;
    margin: 0;
    color: #E55604;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5em;
    letter-spacing: 2px;
    display: inline-block;
    transition: color 0.6s ease-in-out;
}

.side-pages.body .practice-areas .attributes {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    color: #164863;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    background-color: whitesmoke;
    text-align: center;
    transition: color 0.4s ease-in-out, background-color 0.4s ease-in;
}

.side-pages.body .practice-areas .attributes p {
    margin: 5px 10px;
    width: 95%;
    max-width: 95%;
    color: #427D9D;
}


/* Yazılarımız */
.side-pages.body .practice-areas .articlesNav {
    flex: 0 1 25%;
    text-align: left;
    margin: -130px 40px 0 0;
    padding-left: 0;
    border-left: 3px solid #E55604;
}

.side-pages.body .practice-areas .articlesNav ul {
    padding-left: 20px;
}

.side-pages.body .practice-areas .articlesNav li {
    list-style-image: url("../assets/Fonts/chevron-right-solid-svg.svg");
    list-style-type: none;
    margin: 10px 0;
}

.side-pages.body .practice-areas .articlesNav li a {
    color: #26577C; 
    text-decoration: none; 
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    transition: color 0.3s ease;
}

.side-pages.body .practice-areas .articlesNav li a:hover {
    color: #E55604; 
}

.side-pages.body .articles {
    flex: 1;
    margin: -130px 20px 0 0;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(229, 86, 4, 0.1);
    color: #26577C;
}

.side-pages.body .articles h3 {
    margin: 30px auto;
    padding: 0 50px;
    padding-bottom: 10px;
    width: 100%;
    max-width: 80%;
    text-align: center;
    color: #26577C;
    border-bottom: 3px solid #E55604;
    font-family: "Montserrat", sans-serif;
    font-size: 1.7em;
}

.side-pages.body .articles p {
    margin: 30px auto;
    width: 100%;
    max-width: 90%;
    color: #26577C;
}

.side-pages.body .articles p strong {
    color: #26577C;
    font-weight: bold;
    font-size: 1.2em;
}

.side-pages.body .articles p a {
    color: #26577C; 
    text-decoration: underline; 
    font-family: "Montserrat", sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.side-pages.body .articles p a:hover {
    color: #E55604; 
}

/* İletişim */
.side-pages.body #map {
    width: 65%;
    height: 500px;
    margin: -10px 2% 50px 60px;
    padding: 10px;
    border: 4px solid #164863;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.side-pages.body .contact-us {
    width: 25%;
    max-width: 25%;
    margin: -10px auto 0 10px;
    padding-top: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-left: 25px;
    opacity: 0;
    transform: translateX(-100px);
    animation: slide-in 0.5s forwards;
}

.side-pages.body .contact-us .contact-item img {
    margin-right: 25px;
    width: 44px; 
    min-width: 44px;
    height: auto; 
}

.contact-item .contact-text {
    display: flex;
    flex-direction: column;
}

.side-pages.body .contact-item  h3 {
    color: #164863;
    font-size: 1.8em;
    margin: 0 0 10px 0;
    padding: 0;
}

.side-pages.body .contact-item  p {
    width: 100%;
    color: #E55604;
    font-size: 1em;
    margin: 0;
    padding: 0;
}

.contact-item a {
    color: inherit; 
    transition: color 0.3s ease;
    font-size: 1em;
}

.contact-item a:hover {
    color: #164863;
}


@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Side Pages Bottom */
.side-pages.bottom {
    width: 90%;
    max-width: 90%;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 5px solid #333;
    box-sizing: border-box;
}

.side-pages.bottom .image-container {
    position: relative;
    width: 100%;
    max-width: 95%;
}

.side-pages.bottom img {
    width: 100%;
    height: auto;
    display: block;
}

.side-pages.bottom .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.9);
    z-index: 1;
    pointer-events: none;
}

/* Boxes In The Bottom Image */
.side-pages.bottom .image-container .three-boxes-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 90%;
    max-height: 70%;
    z-index: 2;
    padding: 100px 20px;
    box-sizing: border-box;
    border: 2px solid #a98e63;
}

.side-pages.bottom .image-container .three-boxes-container .box {
    flex: 1;
    margin: 0 10px;
    text-align: center;
    color: #fff;
}

.side-pages.bottom .image-container .three-boxes-container .box img {
    width: 20%;
    height: auto;
    display: block;
    margin-left: 39%;
}

.side-pages.bottom .image-container .three-boxes-container .box h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 150%;
    color: whitesmoke;
    margin-bottom: 10px;
}

.side-pages.bottom .image-container .three-boxes-container .box p {
    font-family: "Montserrat", sans-serif;
    font-size: 100%;
    color: whitesmoke;
}

/* Footer */
footer {
    background-color: #26577C;
    color: whitesmoke;
    padding: 40px 20px;
    text-align: left;
    font-family: "Montserrat", sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 20px;
}

.footer-section h2 {
    border-bottom: 2px solid #E55604;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #E55604;
}

.footer-section h4 {
    color: #E55604;
    margin-bottom: 8px;
}

.footer-section a {
    color: inherit;
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #E55604;
}

.footer-section img {
    width: 100%;
    min-width: 250px;
    height: auto;
    margin-top: -60px;
}

.footer-section p,
.footer-section ul {
    margin: 0;
    padding: 0;
    font-size: 1em;
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: whitesmoke;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #E55604;
}

.footer-section.right {
    text-align: right;
}

.footer-section.right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section.right ul li {
    margin-bottom: 10px;
}

.footer-section.right ul li a {
    color: whitesmoke;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section.right ul li a:hover {
    color: #E55604;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #E55604;
    margin-top: 20px;
}

@media (width <= 1500px) {
    /* Top Bar 
    .top-bar {
        background-color: blue;  Test
    }*/

    /* Navigation */
    nav ul {
        margin: 0 50px;
    }

    nav ul li {
        margin: 0;
        position: relative;
    }

    nav ul > li > a {
        transform: scale(0.9);
        padding: 8px 5px;
    }

    /* Logo */
    .logo img {
        height: 50px;
        margin-left: 40px;
        padding: 20px;
        transition: height 0.3s ease, margin-left 0.3s ease, padding 0.3s ease;
    }

    /* Main */
    main video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: 1500px;
        height: auto;
        z-index: -1;
        transform: translate(-50%, -50%);
    }

    /* Main H1 */
    main h1 {
        font-size: 3.8em;
    }

    /* Mid-line styling */
    .mid-line {
        font-size: 1em;
    }

    .boxes h3 {
        color: #26577C;
        font-size: 1.1em;
        margin-bottom: -5px;
    }

    .boxes p {
        margin-bottom: 15px;
        font-size: 0.8em;
    }

    .boxes a {
        font-size: 0.9em;
    }

    /* Side Pages Header H1 */
    .side-pages.header h1 {
        margin-top: -5px;
        font-size: 3em;
    }

    .side-pages.header .nav-links {
        margin-top: -40px;
    }

    /* Side Pages Header Image */
    .side-pages.header img {
        width: 100%;
        max-width: 100%;
        height: 200px;
        display: flex;
        object-fit: cover;
    }

    /* Side Pages Body */
    .side-pages.body h2 {
        margin: 20px 40px 20px 40px;
        padding: 5px 5px;
        font-size: 2.2em;
    }

    .side-pages.body p {
        margin-left: 50px;
        font-size: 0.9em;
    }

    .side-pages.body img {
        min-width: 300px;
        padding-left: 20px;
    }

    /* Avukatlarımız */
    .side-pages.body .lawyers .bio h1 {
        font-size: 2.1em;
    }

    .side-pages.body .lawyers .bio .attributes p {
        font-size: 1em;
    }

    .side-pages.body .lawyers .img-container {
        min-width: 320px;
        max-height: 360px;
        margin-bottom: 50px;
    }

    .side-pages.body .lawyers .img-container img {
        margin-left: -5%;
        min-width: 330px;
        margin-right: 2%;
        padding-left: 10px;
    }


    /* Çalışma Alanlarımız */
    .side-pages.body .practice-areas .boxes .img-container img {
        margin-left: -6.5%;
        width: 105%;
    }

    /* Yazılarımız */
    .side-pages.body .practice-areas .articlesNav {
        margin: -110px 40px 0 0;
    }

    .side-pages.body .practice-areas .articlesNav li a {
        font-size: 0.9em;
    }

    .side-pages.body .articles {
        margin: -110px 20px 0 0;
    }

    .side-pages.body .articles h3 {
        font-size: 1.55em;
    }

    /* İletişim */
    .side-pages.body #map {
        width: 65%;
        height: 500px;
        margin: -10px 3% 50px 60px;
        padding: 10px;
        border: 4px solid #164863;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .side-pages.body .contact-us .contact-item img {
        margin-right: 25px;
        height: auto; 
    }

    .side-pages.body .contact-item  p {
        font-size: 0.95em;
    }
    
    .contact-item a {
        font-size: 1em;
    }
    
    /* Footer */
    footer {
        padding: 10px 5px;
    }

    .footer-section a {
        font-size: 1em;
    }

    .footer-section img {
        margin-top: -40px;
    }

    .footer-section p,
    .footer-section ul {
        font-size: 0.9em;
    }
}

@media (max-width: 1200px) { /* Styles for large screens (desktops) */
    /* Top Bar
    .top-bar {
        background-color: green;  Test
    }*/

    /* Navigation */
    nav ul {
        display: flex;
        flex-direction: column;
        background-color: whitesmoke;
        position: absolute;
        top: 65px;
        right: 0;
        width: 100%;
        max-width: 250px;
        margin: 0;
        padding: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s ease-out;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        opacity: 0;
        transition: opacity 0.5s ease-out;
    }

    #menu-toggle:checked + .hamburger + nav ul {
        max-height: 500px;
    }

    #menu-toggle:checked + .hamburger + nav ul li {
        opacity: 1;
        transition-delay: 0.3s;
    }

    nav ul > li .dropdown-menu {
        display: none !important;
    }

    .navbar-container nav ul > li:hover .dropdown-menu, 
    .navbar-container nav ul > li:focus .dropdown-menu {
        display: none !important;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 1000;
    }

    #menu-toggle:checked + .hamburger + nav ul {
        display: flex;
    }

    /* Logo */
    .logo img {
        height: 50px;
        margin-left: 40px;
        padding: 20px;
        transition: height 0.3s ease, margin-left 0.3s ease, padding 0.3s ease;
    }

    /* Main */
    main video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: 1200px;
        height: auto;
        z-index: -1;
        transform: translate(-50%, -50%);
    }

    /* Main H1 */
    main h1 {
        font-size: 3.5em;
    }

    /* Mid-line styling */
    .mid-line {
        font-size: 0.9em;
    }

    .boxes img {
        max-width: 300px;
    }

    .boxes h3 {
        color: #26577C;
        font-size: 1em;
        margin-bottom: -5px;
    }

    .boxes p {
        margin-bottom: 15px;
        font-size: 0.7em;
    }

    .boxes a {
        font-size: 0.8em;
    }

    /* Side Pages Header H1 */
    .side-pages.header h1 {
        margin-top: -5px;
        left: 55px;
        font-size: 2.7em;
    }

    .side-pages.header .nav-links {
        margin-top: -48px;
        left: 60px;
        font-size: 0.9em;
    }

    /* Side Pages Header Image */
    .side-pages.header img {
        width: 100%;
        max-width: 100%;
        height: 200px;
        display: flex;
        object-fit: cover;
    }

    /* Side Pages Body */
    .side-pages.body h2 {
        margin: 20px 40px 20px 40px;
        padding: 5px 5px;
        font-size: 2em;
    }

    .side-pages.body p {
        margin-left: 50px;
        font-size: 0.8em;
        margin-left: 20px;
        margin-top: 0;
    }

    /* Avukatlarımız */
    .side-pages.body .lawyers .bio h1 {
        font-size: 2em;
    }

    .side-pages.body .lawyers .bio .attributes p {
        font-size: 0.9em;
    }

    .side-pages.body .lawyers .img-container {
        min-width: 280px;
        max-height: 350px;
        margin-bottom: 50px;
    }

    .side-pages.body .lawyers .img-container img {
        margin-left: -5%;
        min-width: 300px;
        margin-right: 2%;
        padding-left: 10px;
    }

    .side-pages.body .lawyers .bio .attributes {
        margin-right: -50%;
    }

    /* Çalışma Alanlarımız */
    .side-pages.body .practice-areas .boxes .img-container img {
        margin-left: -7%;
    }
    

    /* Yazılarımız */
    .side-pages.body .practice-areas .articlesNav {
        margin: -110px 40px 0 -15px;
    }

    .side-pages.body .practice-areas .articlesNav li a {
        font-size: 0.8em;
    }

    .side-pages.body .articles h3 {
        font-size: 1.2em;
        margin-top: 20px;
        padding: 0 35px;
        padding-bottom: 10px;
    }

    /* İletişim */
    .side-pages.body #map {
        width: 65%;
        height: 500px;
        margin: -10px 3% 50px 60px;
        padding: 10px;
        border: 4px solid #164863;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .contact-item {
        margin-left: 0;
    }

    .side-pages.body .contact-us .contact-item img {
        width: 30px; 
        min-width: 30px;
    }

    .side-pages.body .contact-item  h3 {
        margin-top: -5px;
        font-size: 1.5em;
    }

    .side-pages.body .contact-item  p {
        margin-top: -10px;
        font-size: 0.85em;
    }
    
    .contact-item a {
        font-size: 0.9em;
    }
    
    /* Footer */
    footer {
        padding: 10px 5px;
    }

    .footer-section a {
        font-size: 1em;
    }

    .footer-section img {
        margin-top: -20px;
        margin-left: -20px;
    }

    .footer-section p,
    .footer-section ul {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) { /* Styles for medium screens (tablets) */
    
    /* Top Bar 
    .top-bar {
        background-color: red;  Test 
    }*/

    .top-bar .language-flags img {
        margin-bottom: -3px;
    }

    /* Navigation */
    nav ul {
        display: flex;
        flex-direction: column;
        background-color: whitesmoke;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        margin-top: -3px;
        padding: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s ease-out;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        opacity: 0;
        transition: opacity 0.5s ease-out;
    }

    #menu-toggle:checked + .hamburger + nav ul {
        max-height: 500px;
    }

    #menu-toggle:checked + .hamburger + nav ul li {
        opacity: 1;
        transition-delay: 0.3s;
    }

    nav ul > li .dropdown-menu {
        display: none !important;
    }

    .navbar-container nav ul > li:hover .dropdown-menu, 
    .navbar-container nav ul > li:focus .dropdown-menu {
        display: none !important;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 1000;
    }

    #menu-toggle:checked + .hamburger + nav ul {
        display: flex;
    }

    /* Logo */
    .logo img {
        height: 50px;
        margin-left: 0;
        padding: 20px;
        transition: height 0.3s ease, margin-left 0.3s ease, padding 0.3s ease;
    }

    /* Main */
    main {
        height: 60vh;
    }

    main video {
        width: 720px;
    }

    /* Transparent Layer on Main */
    main .overlay {
        height: 100%;
    }

    /* Main H1 */
    main h1 {
        padding-top: 0;
        font-size: 3em;
    }

    /* Mid-line styling */
    .mid-line {
        font-size: 0.6em;
    }

    .boxes img {
        max-width: 300px;
    }

    .boxes h3 {
        color: #26577C;
        font-size: 1em;
        margin-bottom: -5px;
    }

    .boxes p {
        margin-bottom: 15px;
        font-size: 0.7em;
    }

    .boxes a {
        font-size: 0.75em;
    }

    /* Side Pages Header H1 */
    .side-pages.header h1 {
        margin-top: -20px;
        left: 25px;
        font-size: 2.3em;
    }

    .side-pages.header .nav-links {
        margin-top: -72px;
        left: 28px;
        font-size: 0.9em;
    }

    /* Side Pages Header Image */
    .side-pages.header img {
        width: 100%;
        max-width: 100%;
        height: 150px;
        display: flex;
        object-fit: cover;
    }

    /* Side Pages Body */
    .side-pages.body h2 {
        margin: 20px 40px 20px 40px;
        padding: 5px 5px;
        font-size: 2em;
    }

    .side-pages.body p {
        margin-left: 50px;
        font-size: 0.8em;
        margin-left: 20px;
        margin-top: 0;
    }

    /* Content Wrapper */
    .side-pages.body .content-wrapper {
        flex-direction: column; 
    }

    .side-pages.body p {
        margin-left: 20px;
        width: 90%;
        font-size: 0.9em;
    }

    .side-pages.body img {
        align-self: center;
        margin-right: 20px;
        max-width: 250px;
        min-width: 250px;
    }

    /* Avukatlarımız */
    .side-pages.body .lawyers .boxes {
        flex-direction: column;
    }

    .side-pages.body .lawyers .bio {
        margin: 0;
        width: 90%;
    }

    .side-pages.body .lawyers .bio h1 {
        font-size: 1.7em;
        margin: 0;
        margin-top: -40px;
    }

    .side-pages.body .lawyers .bio .attributes p {
        font-size: 0.8em;
        width: 70%;
        margin: 0;
    }

    .side-pages.body .lawyers .img-container {
        min-width: 280px;
        max-height: 350px;
        margin-bottom: 50px;
    }

    .side-pages.body .lawyers .img-container img {
        min-width: 300px;
    }

    .side-pages.body .lawyers .bio .attributes {
        margin-right: -50%;
    }

    /* Çalışma Alanlarımız */
    .side-pages.body .practice-areas .boxes .img-container img {
        margin-left: -7%;
        min-width: 300px;
    }

    /* Yazılarımız */
    .side-pages.body .practice-areas .articlesNav {
        flex: 0 1 100%;
        margin: -120px 0 0 -15px;
        border-left: 0;
    }

    .side-pages.body .practice-areas .articlesNav li a {
        font-size: 0.8em;
    }

    .side-pages.body .articles {
        margin: 0;
    }

    .side-pages.body .articles h3 {
        font-size: 1.1em;
        padding: 0 25px;
        padding-bottom: 10px;
    }

    /* İletişim */
    .side-pages.body #map {
        width: 85%;
        height: 500px;
        margin: 30px 0 50px 40px;
        padding: 10px;
        border: 4px solid #164863;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .side-pages.body .contact-us {
        width: 75%;
        max-width: 75%;
    }
    
    
    .contact-item {
        margin-left: 0;
    }

    .side-pages.body .contact-us .contact-item img {
        width: 30px; 
        min-width: 30px;
    }

    .side-pages.body .contact-item  h3 {
        margin-top: -5px;
        font-size: 1.5em;
    }

    .side-pages.body .contact-item  p {
        margin-top: -10px;
        font-size: 0.85em;
    }
    
    .contact-item a {
        font-size: 0.9em;
    }
    
    /* Footer */
    footer {
        padding: 0;
    }

    .footer-section h2 {
        font-size: 1.2em;
    }

    .footer-section h4 {
        font-size: 1em;
    }

    .footer-section a {
        font-size: 0.9em;
    }

    .footer-section img {
        margin-right: -50px;
        min-width: unset;
    }

    .footer-section p,
    .footer-section ul {
        font-size: 0.7em;
    }

    .footer-section.right {
        display: none;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 0;
        padding-bottom: 5px;
        border-top: 1px solid #E55604;
        margin-top: 0;
    }
}

@media (max-width: 480px) { /* Styles for small screens (phones) */
    
    /* Top Bar */
    .top-bar {
        /*background-color: orange;  Test */
        padding: 5px 10px;
    }

    .top-bar .language-flags img {
        margin-left: 0;
        margin-bottom: -5px;
    }

    /* Navigation */
    nav ul {
        display: flex;
        flex-direction: column;
        background-color: whitesmoke;
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        margin-top: -3px;
        padding: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s ease-out;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        opacity: 0;
        transition: opacity 0.5s ease-out;
    }

    #menu-toggle:checked + .hamburger + nav ul {
        max-height: 500px;
    }

    #menu-toggle:checked + .hamburger + nav ul li {
        opacity: 1;
        transition-delay: 0.3s;
    }

    nav ul > li .dropdown-menu {
        display: none !important;
    }

    .navbar-container nav ul > li:hover .dropdown-menu, 
    .navbar-container nav ul > li:focus .dropdown-menu {
        display: none !important;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 10px;
        top: 0;
        z-index: 1000;
    }

    .hamburger span {
        display: block;
        position: absolute;
        height: 4px;
        width: 80%;
        background: #26577C;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    #menu-toggle:checked + .hamburger + nav ul {
        display: flex;
    }

    /* Sticky Navigation */
    .sticky-navbar {
        position: fixed;
        top: 0;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Logo */
    .logo img {
        height: 30px;
        margin-left: 0;
        margin-top: 5px;
        padding: 10px;
        transition: height 0.3s ease, margin-left 0.3s ease, padding 0.3s ease;
    }

    /* Logo in Sticky Navigation */
    .sticky-navbar .logo img {
        height: 25px;
        margin-left: 0;
        padding: 10px;
        transition: height 0.3s ease, margin-left 0.3s ease, padding 0.3s ease;
    }

    /* Hamburger Menu in Sticky Navigation */
    .sticky-navbar .hamburger {
        margin-top: 15px;
    }

    /* Main */
    main {
        height: 39vh;
    }

    main video {
        width: 500px;
    }

    /* Transparent Layer on Main */
    main .overlay {
        height: 100%;
    }

    /* Main H1 */
    main h1 {
        font-size: 2.5em;
        letter-spacing: 2px;
    }

    /* Mid-line styling */
    .mid-line {
        font-size: 0.6em;
    }

    .boxes img {
        max-width: 300px;
    }

    .boxes h3 {
        color: #26577C;
        font-size: 0.9em;
        margin-bottom: -5px;
    }

    .boxes p {
        margin-bottom: 15px;
        font-size: 0.6em;
    }

    .boxes a {
        font-size: 0.65em;
    }

    /* Side Pages Header H1 */
    .side-pages.header h1 {
        margin-top: -30px;
        left: 15px;
        font-size: 1.8em;
    }

    .side-pages.header .nav-links {
        margin-top: -90px;
        left: 18px;
        font-size: 0.9em;
    }

    /* Side Pages Header Image */
    .side-pages.header img {
        width: 100%;
        max-width: 100%;
        height: 120px;
        display: flex;
        object-fit: cover;
    }

    /* Side Pages Body */
    .side-pages.body h2 {
        margin: 20px 40px 20px 40px;
        padding: 5px 5px;
        font-size: 1.5em;
    }

    .side-pages.body p {
        margin-left: 50px;
        font-size: 0.8em;
        margin-left: 20px;
        margin-top: 0;
    }

    /* Content Wrapper */
    .side-pages.body .content-wrapper {
        flex-direction: column; 
    }

    .side-pages.body p {
        margin-left: 20px;
        width: 90%;
        font-size: 0.9em;
    }

    .side-pages.body img {
        min-width: 90%;
    }

    /* Avukatlarımız */
    .side-pages.body .lawyers .boxes {
        flex-direction: column;
        margin-left: 0;
    }

    .side-pages.body .lawyers .bio {
        margin: 0;
        width: 90%;
    }

    .side-pages.body .lawyers .bio h1 {
        font-size: 1.2em;
        margin: 0;
        margin-top: -40px;
    }

    .side-pages.body .lawyers .bio .attributes p {
        font-size: 0.85em;
        width: 60%;
        margin: 0;
        margin-right: -20px;
    }

    .side-pages.body .lawyers .img-container {
        min-width: 255px;
        max-height: 300px;
        margin-bottom: 50px;
    }

    .side-pages.body .lawyers .img-container img {
        min-width: 270px;
    }

    .side-pages.body .lawyers .bio .attributes {
        margin-right: -50%;
    }

    /* Çalışma Alanlarımız */

    .side-pages.body .practice-areas .boxes .img-container img {
        margin-left: -6.5%;
    }

    /* Yazılarımız */
    .side-pages.body .practice-areas .articlesNav {
        flex: 0 1 100%;
        margin: -120px 0 0 -35px;
        border-left: 0;
    }

    .side-pages.body .practice-areas .articlesNav li a {
        font-size: 0.8em;
    }

    .side-pages.body .articles {
        margin: 0;
    }

    .side-pages.body .articles h3 {
        font-size: 1em;
        padding: 0 10px;
        padding-bottom: 10px;
    }

    .side-pages.body .articles p {
        margin-left: 9%;
        width: 85%;
        max-width: 100%;
        font-size: 0.7em;
    }

    .side-pages.body .articles p strong {
        font-size: 1em;
    }
    
    /* İletişim */
    .side-pages.body #map {
        width: 80%;
        height: 500px;
        margin: 30px 0 50px 20px;
        padding: 10px;
        border: 4px solid #164863;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .side-pages.body .contact-us {
        width: 75%;
        max-width: 75%;
    }
    
    
    .contact-item {
        margin-left: 0;
    }

    .side-pages.body .contact-us .contact-item img {
        width: 30px; 
        min-width: 30px;
    }

    .side-pages.body .contact-item  h3 {
        margin-top: -5px;
        font-size: 1.5em;
    }

    .side-pages.body .contact-item  p {
        margin-top: -10px;
        font-size: 0.85em;
    }
    
    .contact-item a {
        font-size: 0.9em;
    }
    
    /* Footer */
    footer {
        padding: 10px 5px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section a {
        font-size: 1em;
    }

    .footer-section img {
        margin-top: -20px;
        margin-left: -20px;
    }

    .footer-section p,
    .footer-section ul {
        font-size: 0.95em;
    }
}